GdPicture.NET.14
GdPicture14 Namespace / GdPictureOfficeTemplateBuilder<T> Class / AddToSection<TObjectBuilder> Method
The type of the object builder for the section.
The name of the section to add objects to.
An array of actions to build objects within the section.





In This Topic
AddToSection<TObjectBuilder> Method (GdPictureOfficeTemplateBuilder<T>)
In This Topic
Adds objects to an existing section in the template.
Syntax
'Declaration
 
Public Function AddToSection(Of TObjectBuilder As {New, GdPictureOfficeTemplateBuilder(Of TObjectBuilder)})( _
   ByVal sectionName As String, _
   ByVal ParamArray arrayValues() As Action(Of TObjectBuilder) _
) As T
public T AddToSection<TObjectBuilder>( 
   string sectionName,
   params Action<TObjectBuilder>[] arrayValues
)
where TObjectBuilder: new(), GdPictureOfficeTemplateBuilder<TObjectBuilder>
public function AddToSection( 
    sectionName: String;
   params  arrayValues: Actionarray of
): T; 
public function AddToSection( 
   sectionName : String,
   arrayValues : Action[]
) : T;
public: T* AddToSection<TObjectBuilder>( 
   string* sectionName,
   params Action<TObjectBuilder*>*[]* arrayValues
) 
where TObjectBuilder: gcnew(), GdPictureOfficeTemplateBuilder<TObjectBuilder>
public:
T^ AddToSectiongeneric<typename TObjectBuilder>
( 
   String^ sectionName,
   ... array<Action<TObjectBuilder^>^>^ arrayValues
) 
where TObjectBuilder: gcnew(), GdPictureOfficeTemplateBuilder<TObjectBuilder>

Parameters

sectionName
The name of the section to add objects to.
arrayValues
An array of actions to build objects within the section.

Type Parameters

TObjectBuilder
The type of the object builder for the section.

Return Value

The template builder instance.
See Also